<%@ page import="com.timeDeal.bean.PageList" %>
<%@ page import="java.util.List" %>
<%@ page import="com.timeDeal.bean.XuqiufabuBean" %><%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2016/9/1
  Time: 22:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    PageList pageList = (PageList) request.getAttribute("pagelist");
%>
<%@ include file="../inc/admintop.jsp"%>
<h1 align="center">管理员处理用户需求页面</h1>
<br/>
<div class="row">
    <div class="col-xs-12">
        <table class="table">
            <tr>
                <th>序号</th>
                <th>需求名称</th>
                <th>需求详情</th>
                <th>需求提交人</th>
                <th>需求提交时间</th>
                <th>处理</th>
            </tr>
            <%
                if(pageList != null) {
                    List<Object> list = pageList.getList();
                    for(int i = 0;i < list.size();i++) {
                        XuqiufabuBean axuqiu = (XuqiufabuBean) list.get(i);
            %>
            <tr>
                <td><%=axuqiu.getXuqiufabuid()%></td>
                <td><%=axuqiu.getXuqiumingcheng()%></td>
                <td><%=axuqiu.getXuqiuyaoqiu()%></td>
                <td><%=axuqiu.getJiafangid()%></td>
                <td></td>
                <td>
                    <button>通过</button>
                    <button>拒绝</button>
                </td>
            </tr>
            <%
                    }
                }
            %>
        </table>
        <button style="align-content: center"><a href="<%=ctxpath%>">返回</a></button>
    </div>
</div>
<%@ include file="../inc/bottom.jsp"%>